import { Layout, Radio } from "antd";
import React from "react";
import ChargingAccount from "./chargingAccount";

class ChargingRule extends React.Component{
  constructor(props){
    super(props);
    this.state = {
      menu:"account"
    }
  }

  componentDidMount(){
    if(this.props.onRef){
      this.props.onRef(this)
    }
  }


  onChange = e => {
    this.setState({menu:e.target.value})
  }

  render(){
    const { current } = this.props;
    const { menu } = this.state;
    return(
      <div>
        
      </div>
    )
  }
}

export default ChargingRule